<?php if(!empty($subvo)){
    $v = $subvo;
    $subvo = '';
}
if(!empty($subsubvo)){
    $v = $subsubvo; 
    $subsubvo = '';
}
?>

<div class="viewBox myBox<?php echo $v['id'];?>"<?php if($_SESSION[C('USER_AUTH_KEY')]){?> sortID="<?php echo $v['sort'];?>" modulesID="<?php echo $v['id'];?>" title="<?php echo $v['title'];?>" deleteUrl="<?php echo U('/Admin/Modules/delete',array('id'=>$v['id']));?>" settingUrl="<?php echo U('/Admin/Modules/edit',array('id'=>$v['id']));?>" isEdit="1"<?php }?>>
  <?php if(!empty($v['dataname'])){
                $v['content'] = $v['dataname'];
                
        }
         ?>   
  <div class="panel panel-primary">
    <?php include(TMPL_PATH.'Home/TemplateDefault/Public-Moduletitle'.C('TMPL_TEMPLATE_SUFFIX')); ?>
    <div class="panel-body">
      
      <h1 style="font-size:20px; text-align:center;"><?php echo $title;?></h1>
      <p style="text-align:center; line-height:40px; height:40px;">发布时间：<?php echo date('Y-m-d',$datetime); ?>&nbsp;&nbsp;&nbsp;点击量：<?php echo $click;?></p>
      
      
      
      
      
      
      
      <?php echo $v['content'];?>
      
      
      <?php foreach($imgList as $v){?>
      <p>
      <img src="<?php echo getThumbPath($v['img_url']);?>" alt="<?php echo $v['title'];?>">
      </p>
      
      <?php } ?>
      
      
      
    </div>
  </div>
</div>
